<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<div id="app">
    <h1 id="h1">{{msg}}</h1>
    <input type="text" v-model="msg"/>
</div>
</body>
</html>

<script src="/js/axios.min.js"></script>
<script src="../js/v2.6.10/vue.js"></script>
<script>
    // axios.get("url").then(function(res){}).catch(function(err){});
    axios.get().then((res)=>{}).catch((err)=>{})

    //es6 模板字符串
    let html = "<buttom onclick=\"test('+id+')\"></buttom>" +
        "<buttom onclick=\"test('+id+')\"></buttom>";
    let html2 = `<div>
        <h1>hhl</h1>
        <button onclick="test()">点我</button>
        </div>`

    //es6 对象定义
    let id =22;
    let name = "何海龙";
    let age=32;

    const emp = {id:id,name:name,age:age};
    const emp2 = {id,name,age}


</script>